[r33]: / trunk / Display_Escape_PLC / Plc Logic / Application / Puzzle / BalastTank_PRG / svnobj  Maximize  Restore  History

Download this file

10 lines (9 with data), 5.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
PROGRAM BalastTank_PRG
VAR
	xInit				: BOOL := FALSE; // Flag for initialization
IF NOT xInit THEN		
	BalastTankPuzzle.ID := 1;
	BalastTankPuzzle.Name := 'Balast Tank Puzzle';
IF xActingStateComplete AND puzzle.ActualState = PACK_ML.State.Execute THEN
	puzzle.StateComplete();
puzzle(Client := BalastTankPuzzle);